﻿using System;

namespace Me.Amon.POS.M
{
    public class MSoHeader : MPos
    {
        public string corp_id;

        public string vip_id;

        [NonSerialized]
        public MVip vip;

        /// <summary>
        /// 单品数量
        /// </summary>
        public int item_qty;
        /// <summary>
        /// 单件数量
        /// </summary>
        public int unit_qty;
        /// <summary>
        /// 商品总额
        /// </summary>
        public int order_amount;
        /// <summary>
        /// 折扣金额
        /// </summary>
        public int round_amount;

        public int prepay_amount;

        public int change_amount;

        public MSoDetail[] details;

        public override string ToString()
        {
            return code;
        }
    }
}
